package com.lyf.juc.practice.jmmvolatile;

/**
 * @author LYF
 * @date 2022/7/7
 */
public class Test {
    public  static int x = 10;
    static {
        x = 30;
        z = 20;
    }
    public static int y = x*2;
    public static int z;

    public static void main(String[] args) {
        System.out.println(x+":"+y+":"+z);
    }
}
